package fr.inria.virtualemf.vlink_mm;

import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;

public class VirtualLinksMetamodel {

	public static Resource getVirtualLinksMetamodel(ResourceSet resourceSet) {
		String path = "/resource/VirtualLinksMM.ecore";
		return resourceSet.getResource(URI.createURI(VirtualLinksMetamodel.class.getResource(path).toString()), true);
//		return resourceSet.getResource(URI.createURI(FileLocator.find(Platform.getBundle("fr.inria.virtualemf.vlink-mm"), new Path(path), null).toString()), true);
	}

}
